Skip to content

Conversation

@phillipberndt
Copy link

This repository has been unmaintained for quite some time, and since I needed autorandr on my notebook, I took over and merged most of the pull requests below this one.

I'll stop maintaining the fork once Stefan closes this pull request to my repository. In the meantime, before you report any issues here, check if someone else already solved them for you over at
https://github.com/phillipberndt/autorandr/tree/legacy.

Active development currently takes place in yet another branch, with a fully compatible Python rewrite:
https://github.com/phillipberndt/autorandr/

(wertarbyte: If you merge this, note that I added a note in the readme file concerning maintenance status which you'll probably want to remove.)

ccdunder and others added 30 commits July 31, 2012 12:54
40autorandr had issues when resuming on a system where
one or more users have multiple terminal sessions open.

enhanced 40autorandr to allow being called as 40auto-disper
to automatically swap to using auto-disper semantics
Checks if the directory ~/.autorandr exists before searching for profiles.
Example error message:
autorandr -find: `/root/.autorandr/*': No such file or directory
xRandR (in newer versions?) will output an extra columns for primary outputs.
Detect this column and modify the string split and column numbers accordingly.
…tion

xrandr will typically fail when switching outputs, if the maximum number is already enabled.
This patch will cause xrandr to be called twice:
- First invocation will only disable outputs, freeing up CRTCs
- Second invocation will only enable outputs
bingmann and others added 24 commits July 19, 2014 20:01
…refer existing configuration files over virtual configurations
Enabling more than one or two outputs at once may result in this error:
/usr/bin/xrandr: Configure crtc 1 failed
This happens on my Dell Latitude E7440 with three monitors connected.

Disabling many outputs at once still seems safe.

Output positioning may be ignored by xrandr in some cases.
To circumvent this, make sure the output with --pos 0x0 is enabled first.
In order to resolve bug #7, we need to remove non-trivial pieces of code
by @wertarbyte, who does not react to requests currently. All other
authors agreed to any suitable OSS license. See
 #7
for further discussion.

A side-effect of my reimplementation is that both methods now return the
same fingerprint, such that they are interchangeable. A downside is that
the fingerprints change with this version.
See #7
and wertarbyte/autorandr#24, where the
original author wrote:

> After a while, I finally got around to this - licence should be GPLv3,
> so feel free to package :-)
To normalize the fingerprints, we have to fiddle a lot with the sysfs
variant. The awk code is much simpler. In the long run I'd like to
remove the sysfs code altogether.
@jnsnow
Copy link

jnsnow commented Feb 18, 2015

Thanks a lot, @phillipberndt !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.